/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfocompany.entity;

import com.lczyfz.campusinfo.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 资金申请Entity
 * @author zms
 * @version 2018-04-17
 */
public class CampusinfoFundReq extends DataEntity<CampusinfoFundReq> {
	
	private static final long serialVersionUID = 1L;
	private String companyId;		// 关联公司
	private String reqType;		// 申请类型
	private String reqFunds;		// 申请金额
	private String reqPurpose;		// 申请用途
	private String reqStatus;		// 状态
	private String providefund; //已发放
	private User user; //用户
	private String username;
	private String reqReply;
	private String beginReqFunds;		// 开始 申请金额
	private String endReqFunds;		// 结束 申请金额
	private String companyName;  //公司名称
	private String reqRemainder;		// 已申请余额
	private String avaRemainder;		// 可用余额
	private String curRemainder;		// 当前余额
	public String getReqReply() {
		return reqReply;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setReqReply(String reqReply) {
		this.reqReply = reqReply;
	}
	public String getCurRemainder() {
		return curRemainder;
	}

	public void setCurRemainder(String curRemainder) {
		this.curRemainder = curRemainder;
	}

	public String getAvaRemainder() {
		return avaRemainder;
	}

	public void setAvaRemainder(String avaRemainder) {
		this.avaRemainder = avaRemainder;
	}


	public String getReqRemainder() {
		return reqRemainder;
	}

	public void setReqRemainder(String reqRemainder) {
		this.reqRemainder = reqRemainder;
	}
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public CampusinfoFundReq() {
		super();
	}

	public CampusinfoFundReq(String id){
		super(id);
	}

	@Length(min=1, max=64, message="关联公司长度必须介于 1 和 64 之间")
	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
//
//	@Length(min=1, max=64, message="申请类型长度必须介于 1 和 64 之间")
//	public String getReqType() {
//		return reqType;
//	}
//
//	public void setReqType(String reqType) {
//		this.reqType = reqType;
//	}
public String getProvidefund() {
	return providefund;
}

	public void setProvidefund(String providefund) {
		this.providefund = providefund;
	}

	@Length(min=1, max=255, message="申请金额长度必须介于 1 和 255 之间")
	public String getReqFunds() {
		return reqFunds;
	}

	public void setReqFunds(String reqFunds) {
		this.reqFunds = reqFunds;
	}
	
	@Length(min=1, max=64, message="申请用途长度必须介于 1 和 64 之间")
	public String getReqPurpose() {
		return reqPurpose;
	}

	public void setReqPurpose(String reqPurpose) {
		this.reqPurpose = reqPurpose;
	}
	
	@Length(min=1, max=1, message="状态长度必须介于 1 和 1 之间")
	public String getReqStatus() {
		return reqStatus;
	}

	public void setReqStatus(String reqStatus) {
		this.reqStatus = reqStatus;
	}
	
	public String getBeginReqFunds() {
		return beginReqFunds;
	}

	public void setBeginReqFunds(String beginReqFunds) {
		this.beginReqFunds = beginReqFunds;
	}
	
	public String getEndReqFunds() {
		return endReqFunds;
	}
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	public void setEndReqFunds(String endReqFunds) {
		this.endReqFunds = endReqFunds;
	}
		
}